#!/bin/sh
#
# Recreate pmproxy archive
#

tmp=/var/tmp/$$
trap "rm -f $tmp.*; exit 0" 0 1 2 3 15

cat <<End-of-File >$tmp.config
log mandatory on 1 sec {
    pmproxy
}
End-of-File

rm -f pmproxy.index pmproxy.meta pmproxy.0
pmlogger -c $tmp.config -s 10 pmproxy
